<!DOCTYPE html><%@ page language="java"
	contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!-- saved from url=(0041)http://v3.bootcss.com/examples/dashboard/ -->
<html lang="UTF-8">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="http://v3.bootcss.com/favicon.ico">

<title>首页</title>

<!-- Bootstrap core CSS -->
<link
	href="${pageContext.request.contextPath}/res/css/bootstrap/css/bootstrap.min.css"
	rel="stylesheet">


</head>

<body>



	<form method="post"
		action="${pageContext.request.contextPath}/dbcheck/editSubmit">
		<input type='hidden' name='action' value='${action }' /> <input
			type='hidden' name='id' value='${m.id }' />

		<div>
			<p style='color: red'>${msg }</p>
		</div>
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">


			<table class="table table-bordered table-striped  table-hover"
				style="width: 500px">
				<tr>
					<td>项目名称</td>
					<td colspan=2><input name='name' value='${m.name }' /></td>
				</tr>

				<tr>
					<td></td>
					<td>测试库</td>
					<td>正式库</td>
				</tr>
				<tr>
					<td>URL</td>
					<td><input name='devUrl' value='${m.devUrl }' /></td>
					<td><input name='prodUrl' value='${m.prodUrl }' /></td>
				</tr>
				<tr>
					<td>用户名</td>
					<td><input name='devUsername' value='${m.devUsername }' /></td>
					<td><input name='prodUsername' value='${m.prodUsername }' /></td>
				</tr>
				<tr>
					<td>密码</td>
					<td><input name='devPassword' value='${m.devPassword }' /></td>
					<td><input name='prodPassword' value='${m.prodPassword }' /></td>
				</tr>


			</table>


			<table style='width: 98%'>
				<tr>
					<td><div class="btn-group">
							<button id='save' class="btn btn-primary" href="#">
								<i class="icon-edit icon-white"></i> 保存
							</button>
							 
						</div></td>
				</tr>
			</table>
		</div>
	</form>

	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="${pageContext.request.contextPath}/res/js/jquery.min.js"></script>
	<script>
		window.jQuery
				|| document
						.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')
	</script>
	<script
		src="${pageContext.request.contextPath}/res/css/bootstrap/js/bootstrap.min.js"></script>
	<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
	<script src="${pageContext.request.contextPath}/res/js/holder.min.js"></script>
	<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
	<script
		src="${pageContext.request.contextPath}/res/js/ie10-viewport-bug-workaround.js"></script>
	<script>
		<script type="text/javascript">
		$(function() {
			$("#save").click(function() {
				$("form").submit();
				return false;
			});

			$("#back")
					.click(
							function() {
								window.location = "${pageContext.request.contextPath}/dbcheck/list";
								return false;
							});
		});
	</script>
	</script>

</body>
</html>